﻿using System;
using System.Collections.Generic;
using System.Data;
using Models.DTO.Api;
using WPay.Infrastructure.Unity.Enums;
/* ********************************************************************************
* 名称：Cpn
* 描述：企业资料表  数据库表（本类由CodeSmith软件生成生成）
* 创建人：HFL
* 创建日期：2020-06-29 15:00:55
* 修改人：
* 修改日期：
* *******************************************************************************/
namespace WPay.Domain.Model.DTOs.Parms
{
    /// <summary>
    /// 企业资料表 
    /// </summary>
    public class CpnParms : BaseParmsDTO
    {
        /// <summary>
        /// 企业代码
        /// </summary>
        public string CpnID { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 企业IT系统类型
        /// </summary>
        public string CpnItTp { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 办公地址
        /// </summary>
        public string Adr { get; set; }
        /// <summary>
        /// 办公电话
        /// </summary>
        public string Tel { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string OpnBnk { get; set; }
        /// <summary>
        /// 帐号
        /// </summary>
        public string ActNo { get; set; }
        /// <summary>
        /// 税号
        /// </summary>
        public string TaxID { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Lnkr { get; set; }
        /// <summary>
        /// 联系人电话
        /// </summary>
        public string LnkPhn { get; set; }
        /// <summary>
        /// 联系人邮箱
        /// </summary>
        public string LnkEml { get; set; }
        /// <summary>
        /// 财务负责人
        /// </summary>
        public string Cfo { get; set; }
        /// <summary>
        /// 财务联系电话
        /// </summary>
        public string CfoPhn { get; set; }
        /// <summary>
        /// 财务邮箱
        /// </summary>
        public string CfoEml { get; set; }
        /// <summary>
        /// 系统管理员
        /// </summary>
        public string Cio { get; set; }
        /// <summary>
        /// 系统管理员电话
        /// </summary>
        public string CioPhn { get; set; }
        /// <summary>
        /// 系统管理员邮箱
        /// </summary>
        public string CioEml { get; set; }
        /// <summary>
        /// 客服经理
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 登记日期
        /// </summary>
        public DateTime OpnDt { get; set; }
        /// <summary>
        /// 状态[-1禁用、0-未审核、1-已审核]
        /// </summary>
        public Int32 Stt { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Brf { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public Int32 Uptr { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UptDtt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ERPCpnId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Deskey { get; set; }
    }
    public class CpnAddParms
    {
        public CpnAddParms()
        {
            cpnenclsures = new List<cpnenclsuredto>();
        }
        /// <summary>
        /// 更新人
        /// </summary>
        public string Uptr { get; set; }

        //public string CpnID { get; set; }


        ///// <summary>
        ///// 资质类型
        ///// </summary>
        //public int QalTyp { get; set; }

        ///// <summary>
        ///// 执照开始日期
        ///// </summary>
        //public DateTime? BusnSDt { get; set; }

        ///// <summary>
        ///// 执照结束日期
        ///// </summary>
        //public DateTime? BusnEDt { get; set; }
        ///// <summary>
        ///// 是否长期
        ///// </summary>
        //public bool IsLongDt { get; set; }
        ///// <summary>
        ///// 注册省份
        ///// </summary>
        //public string Prv { get; set; }
        ///// <summary>
        ///// 注册城市
        ///// </summary>
        //public string Cty { get; set; }
        ///// <summary>
        ///// 注册区县
        ///// </summary>
        //public string Dit { get; set; }
        ///// <summary>
        ///// 注册详细地址
        ///// </summary>
        //public string Addr { get; set; }
        ///// <summary>
        ///// ERP企业代码
        ///// </summary>
        //public string ERPCpnId { get; set; }
        ///// <summary>
        ///// 经营类型
        ///// </summary>
        //public int MngeTyp { get; set; }


        ///// <summary>
        ///// 注册号
        ///// </summary>
        //public string RegNo { get; set; }

        ///// <summary>
        ///// 注名称
        ///// </summary>
        //public string RegName { get; set; }
        ///// <summary>
        ///// 商户简称
        ///// </summary>
        //public string mngName { get; set; }
        ///// <summary>
        ///// 联系人手机号(客户电话)
        ///// </summary>
        //public string mngLnkPhn { get; set; }
        ///// <summary>
        ///// 经营省份
        ///// </summary>
        //public string mngPrv { get; set; }
        ///// <summary>
        ///// 经营城市
        ///// </summary>
        //public string mngCty { get; set; }
        ///// <summary>
        ///// 经营区县
        ///// </summary>
        //public string mngDit { get; set; }
        ///// <summary>
        ///// 经营详细地址
        ///// </summary>
        //public string mngAdr { get; set; }
        ///// <summary>
        ///// 商户类别
        ///// </summary>
        //public int mngMhTyp { get; set; }
        ///// <summary>
        ///// 结算类型
        ///// </summary>
        //public int sttlTyp { get; set; }
        ///// <summary>
        ///// 结算账户名称
        ///// </summary>
        //public string sttlActNm { get; set; }
        ///// <summary>
        ///// 结算账户号
        ///// </summary>
        //public string sttlAct { get; set; }
        ///// <summary>
        ///// 结算开户行
        ///// </summary>
        //public string sttlActBnk { get; set; }



        /// <summary>
        /// 
        /// </summary>
        public bool businesslicdialogVisible { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool iDpersondialogVisible { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool nationalemblemdialogVisible { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string eRPCpnId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string deskey { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iD { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cpnID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string regNo { get; set; }
        /// <summary>
        /// 测试资质
        /// </summary>
        public string regName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int qalTyp { get; set; }
        /// <summary>
        /// 个体户/企业
        /// </summary>
        public string qalTypStr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> busdt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? busnSDt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? busnEDt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool isLongDt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prv { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dit { get; set; }
        /// <summary>
        /// 测试资质详细地址
        /// </summary>
        public string addr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string crt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ctr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int mngeTyp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string businesslic_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iDperson_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nationalemblem_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string indoorpic_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shopentrancepic_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string placebusiness_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string merchantagr_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string leaseagrheader_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string leaseagrarea_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string leaseagrsign_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string openActlicence_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string otherPic1_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string otherPic2_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string otherPic3_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string otherPic4_Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string otherPic5_Url { get; set; }
        /// <summary>
        /// 测试简称
        /// </summary>
        public string mngName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mngLnkPhn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int mngMhTyp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mngPrv { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mngCty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mngDit { get; set; }
        /// <summary>
        /// 测试基础详细地址
        /// </summary>
        public string mngAdr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sttlTyp { get; set; }
        /// <summary>
        /// 测试结算账户明
        /// </summary>
        public string sttlActNm { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sttlAct { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sttlActBnk { get; set; }
        /// <summary>
        /// 企业附件信息
        /// </summary>
        public List<cpnenclsuredto> cpnenclsures { get; set; }

        public bool showbigdialogVisible { get; set; }
        public string showbigurl { get; set; }
    }
    public class cpnenclsuredto
    {
        public Enum_EncTyp key { get; set; }
        public string name { get; set; }
        public string uid { get; set; }
        public string fileurl { get; set; }
    }
}
